<!DOCTYPE html>
<html xmlns:th="http://www.thymeleaf.org">
<head th:replace="common::commonHeader(~{::title},~{},~{})">
    <title th:text="#{error}">error</title>
</head>
<body
	th:with="httpStatus=${T(org.springframework.http.HttpStatus).valueOf(#response.status)}">
<div class="container">
   <h1>错误</h1>
	<div th:switch="${#response.status}">
		<p th:case="200">error code: [[${errorCode}]]</p>
		<p th:case="*">[[|${httpStatus} - ${httpStatus.reasonPhrase}|]]</p>
	</div>
	<a href="index.html" th:href="@{/index}">Back to Home Page</a>
</div>
<footer th:replace="common::commonFooter(~{})"></footer>
</body>
</html>